package com.steel.yfmall.cloud.assistant.api.stock;

import com.steel.yfmall.cloud.assistant.bean.param.APIFileInfoBean;
import com.steel.yfmall.cloud.components.utils.base.APIListBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @program: CqUploadImageAndFileAPI
 * @author: liuzhijun
 * @date: 2021-04-11 11:42
 **/
@FeignClient(value = "YFMALL-ASSISTANT-SERVICE-PROVIDER")
@Component
public interface CqUploadImageAndFileAPI {

    /**
     * 上传图片到苍穹
     *
     * @return com.steel.yfmall.cloud.components.utils.base.APIListBean<com.steel.yfmall.cloud.assistant.bean.param.APIFileInfoBean>
     * @author liuzhijun
     * @date 2021/4/17 11:09
     */
    @RequestMapping("uploadImage")
    APIListBean<APIFileInfoBean> uploadImage(List<APIFileInfoBean> apiFileInfoBeanList);


    /**
     * 查询苍穹图片
     *
     * @param apiFileInfoBeanList
     * @return com.steel.yfmall.cloud.components.utils.base.APIListBean<com.steel.yfmall.cloud.assistant.bean.param.APIFileInfoBean>
     * @author liuzhijun
     * @date 2021/4/17 11:09
     */
    @RequestMapping("queryImageUrlList")
    APIListBean<APIFileInfoBean> queryImageUrlList(List<APIFileInfoBean> apiFileInfoBeanList);


}
